/**
 * Copyright (C) 2018-2019
 * All rights reserved, Designed By tennisport.cn
 * 注意：
 * 本软件为tennisport.cn开发研制，项目使用请保留此说明
 */
export const tableOption = {
    dialogType: 'drawer',
    border: true,
    stripe: true,
    menuAlign: 'center',
    align: 'center',
    menuType: 'text',
    searchShow: false,
    dialogWidth: '88%',
    selection: true,
    searchMenuSpan: 6,
    column: [
        {
            label: '教练姓名',
            prop: 'name',
            search: true,
            display: false
        },
        {
            label: '头像路径',
            prop: 'avatar',
            slot: true,
            display: false
        }
    ],
    group: [
        {
            icon: 'el-icon-goods',
            label: '基本信息',
            prop: 'group1',
            column: [
                {
                    label: '教练姓名',
                    prop: 'name',
                    span: 18,
                    row: true,
                    rules: [{
                        required: true,
                        message: '教练姓名称不能为空',
                        trigger: 'blur'
                    },{
                      max: 100,
                      message: '长度在不能超过100个字符'
                    }]
                },
              {
                label: '头像',
                prop: 'avatar',
                listType: 'picture-card',
                dataType: 'string',
                type: 'upload',
                limit:1,
                fileSize:0.25,
                width: 250,
                headers:{},
                action: 'common/qiNiuUpload',
                loadText: '附件上传中，请稍等',
                span: 24,
                tip: '只能上传jpg/png文件，且不超过250kb',
                data: {fileName: ""},
              },
              {
                  label: '教练介绍',
                  prop: 'desc',
                  formslot: true,
                  span: 18
              }]
        }]
}
